/*----------------------------------------------------------------------------
 * Visual Close
 * ---------------------------------------------------------------------------
 * Date      : 2011-02-08
 * Author    :  naiyumie
 * ---------------------------------------------------------------------------
 * USAGE
 * ---------------------------------------------------------------------------
 * $(selector).AllMenuView();
 * ---------------------------------------------------------------------------
 * EXAMPLE
 * ---------------------------------------------------------------------------
 *
 *----------------------------------------------------------------------------
 */
$.fn.VisualClose	= function ()
{
	var btn_close	= '<a href="#sub-visual" id="btn-visual-close" title="close"></a>';

	$(this).append(btn_close);

	$('a#btn-visual-close').click(function()
	{
		$('div#sub-visual').hide();
		$('div#layout-container').css('background', 'none');
		return false;
	});
};